| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

EnvironmentRenderer.h
1 // EnvironmentRenderer.h
3 //
5
6 namespace nkAstraeus
7 {
11 class EnvironmentRenderer final
12 {
13 public :
14
15 // Constructor, destructor
21 EnvironmentRenderer (System* system) noexcept ;
25 ~EnvironmentRenderer () ;
26
27 // Rendering
38 void renderCubemap (nkGraphics::Texture* output, nkGraphics::Shader* shader, unsigned int targetDimensions, nkGraphics::FORMAT targetFormat) ;
49 void cubemapToSphericalMap (nkGraphics::Texture* output, nkGraphics::Texture* input, unsigned int targetWidth, unsigned int targetHeight) ;
50 } ;
51 }
nkAstraeus::EnvironmentRenderer::cubemapToSphericalMap
void cubemapToSphericalMap(nkGraphics::Texture *output, nkGraphics::Texture *input, unsigned int targetWidth, unsigned int targetHeight)
nkAstraeus::EnvironmentRenderer::~EnvironmentRenderer
~EnvironmentRenderer()
nkGraphics::Texture
A texture used for rendering, hosted on GPU.
Definition: Texture.h:35
nkAstraeus::System
The main entry point for nkAstraeus engine.
Definition: System.h:15
nkGraphics::Shader
A shader class, feeding data to a Program.
Definition: Shader.h:16
nkAstraeus::EnvironmentRenderer::renderCubemap
void renderCubemap(nkGraphics::Texture *output, nkGraphics::Shader *shader, unsigned int targetDimensions, nkGraphics::FORMAT targetFormat)
nkAstraeus
Encompasses all API of component NilkinsAstraeus.
Definition: BlurComplexEffect.h:7
nkAstraeus::EnvironmentRenderer::EnvironmentRenderer
EnvironmentRenderer(System *system) noexcept
nkAstraeus::EnvironmentRenderer
Utility class helping with environment rendering such as cube maps or spherical maps.
Definition: EnvironmentRenderer.h:12
nkGraphics::FORMAT
FORMAT
Available formats for resources.
Definition: DxDefinesWrapper.h:13